<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <style>
 
        body{
            background: url("image/fengxing.jpg" ) no-repeat center;
        }
        .layout{
            width: 750px;
            height: 450px;
            border: 8px solid #EEEEEE;
            background-color: white;
            /*让div水平居中*/
            margin: auto;
            margin-top: 100px;
 
        }
        .left{
            float: left;
        }
        .left  p:first-child{
            color:#FFD026;
            font-size: 20px;
        }
 
        .left  p:last-child{
            color:#A6A6A6;
            font-size: 20px;
        }
 
        .center{
            float: left;
 
        }
        .right{
            float: right;
        }
        .td_left{
            width: 100px;
            text-align: right;
            height: 45px;
        }
        .td_right{
            padding-left:30px;
        }
        #username,#password,#email,#name,#tel,#birthday,#checkcode{
            width: 250px;
            height: 30px;
            border: 1px solid #A6A6A6;
            /*设置圆角*/
            border-radius: 5px;
            padding-left: 15px;
        }
        .form{
            padding-top: 20px;
        }
        #sub{
            width: 150px;
            height: 30px;
            background-color: yellow;
            border: 1px solid yellow;
        }
    </style>
</head>
<body>
<div class="layout">
    <div class="left">
        <p>新用户注册</p>
        <p>USER REGISTER</p>
 
    </div>
 
 <div class="center">
    <div class="form">
        <form action="#" method="post">
            <table>
                <tr>
                    <td class="td_left"><label for="username">用户名</label></td>
                    <td class="td_right"><input type="text" name="username" id="username" placeholder="请输入用户名"></td>
                </tr>
 
                <tr>
                    <td class="td_left"><label for="password">密码</label></td>
                    <td class="td_right"><input type="password" name="password" id="password" placeholder="请输入密码"></td>
                </tr>
 
                <tr>
                    <td class="td_left"><label for="email">Email</label></td>
                    <td class="td_right"><input type="email" name="email" id="email" placeholder="请输入邮箱"></td>
                </tr>
 
                <tr>
                    <td class="td_left"><label for="name">姓名</label></td>
                    <td class="td_right"><input type="text" name="name" id="name" placeholder="请输入姓名"></td>
                </tr>
 
                <tr>
                    <td class="td_left"><label for="tel">手机号</label></td>
                    <td class="td_right"><input type="text" name="tel" id="tel" placeholder="请输入手机号"></td>
                </tr>
 
                <tr>
                    <td class="td_left"><label>性别</label></td>
                    <td class="td_right">
                        <input type="radio" name="gender" value="male"> 男
                        <input type="radio" name="gender" value="female"> 女
                    </td>
                </tr>
 
                <tr>
                    <td class="td_left"><label for="birthday">出生日期</label></td>
                    <td class="td_right"><input type="date" name="birthday" id="birthday" placeholder="请输入出生日期"></td>
                </tr>
 
                <tr>
                    <td class="td_left"><label for="checkcode" >验证码</label></td>
                    <td class="td_right"><input type="text" name="checkcode" id="checkcode" placeholder="请输入验证码">
                    </td>
                </tr>
 
 
                <tr>
                    <td colspan="2" align="center"><input type="submit" id="sub" value="注册"></td>
                </tr>
            </table>
        </form>
    </div>
 </div>
 
<div class="right">
    <p>已有账号？</p>
    <a href="#">立即登陆</a>
</div>
</div>
</body>
</html>
